import { isOrientationLandscape } from "@/utils/common";

export const useStyleStore = defineStore("style", () => {
	const isLandscapes = ref(isOrientationLandscape());
	window.addEventListener("resize", () => {
		isLandscapes.value = isOrientationLandscape();
	});
	return { isLandscapes };
});
